from rest_framework import serializers

from image.models import HarborImage


class HarborImageSerializer(serializers.ModelSerializer):
    class Meta:
        model = HarborImage
        fields = '__all__'

class SimpleHarborImageSerializer(serializers.ModelSerializer):
    class Meta:
        model = HarborImage
        exclude = ['project_name']